package com.wanmait.schedule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教师课程对应关系表
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@Accessors(chain = true)
@TableName("course_teacher")
public class CourseTeacher {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 对应课程id
     */
    private Integer courseId;

    /**
     * 对应教师id
     */
    private Integer teacherId;

    /**
     * 录入时间
     */
    private LocalDateTime inputTime;

    /**
     * 录入人id
     */
    private Integer inputId;

    /**
     * 删除
     */
    @TableLogic
    private Boolean enable;
}
